package com.xinxing.city.recoverycheck.util;

import com.dianping.logan.Logan;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;

public class LogUtil {
    public static void sendLog(String con){
        SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.getDefault());
        dateFormat.setTimeZone(TimeZone.getTimeZone("GMT+08:00"));
        String content =dateFormat.format(new Date());

        Logan.w(content+"  "+con,2);
    }
}


